$OpenBSD: patch-qtbase_src_network_kernel_qdnslookup_unix_cpp,v 1.2 2015/04/19 13:18:28 zhuk Exp $
Unbreak compilation.
--- qtbase/src/network/kernel/qdnslookup_unix.cpp.ports.orig	Tue Feb 17 07:56:38 2015
+++ qtbase/src/network/kernel/qdnslookup_unix.cpp	Wed Apr  8 00:38:30 2015
@@ -41,7 +41,9 @@
 #include <sys/types.h>
 #include <netinet/in.h>
 #include <arpa/nameser.h>
-#include <arpa/nameser_compat.h>
+#ifndef Q_OS_OPENBSD
+# include <arpa/nameser_compat.h>
+#endif
 #include <resolv.h>
 
 #if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__)
@@ -51,6 +53,8 @@
 QT_BEGIN_NAMESPACE
 
 #ifndef QT_NO_LIBRARY
+
+typedef struct __res_state*	res_state;
 
 typedef int (*dn_expand_proto)(const unsigned char *, const unsigned char *, const unsigned char *, char *, int);
 static dn_expand_proto local_dn_expand = 0;
